#!/usr/bin/env python


bld.SAMBA_LIBRARY('security',
                  source='dom_sid.c display_sec.c secace.c secacl.c security_descriptor.c sddl.c privileges.c security_token.c access_check.c object_tree.c create_descriptor.c util_sid.c session.c',
                  private_library=True,
                  deps='talloc ndr NDR_SECURITY'
                  )

if getattr(bld.env, '_SAMBA_BUILD_', 0) == 4:
    bld.SAMBA_PYTHON('pysecurity',
                     source='pysecurity.c',
                     deps='security pytalloc-util',
                     realname='samba/security.so'
                     )
